<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>SLSystem</title>
    <meta name="keywords" content="面向学习型的开源框架，简洁高效，杜绝过渡封装，展现技术本质本质">
    <meta name="description" content="面向学习型的开源框架，简洁高效，杜绝过渡封装，展现技术本质本质">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/css/bootstrap-select.css?v=3.3.6" rel="stylesheet">
    <link href="/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/css/plugins/toastr/toastr.min.css" rel="stylesheet">
    <link href="/css/animate.css" rel="stylesheet">
    <link href="/css/style.css?v=4.1.0" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">教师工号:</label>
                            <div class="col-sm-8">
                                <input id="userId" name="userId" readonly th:value="${userId}" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">教师姓名:</label>
                            <div class="col-sm-8">
                                <input id="username" name="username" readonly th:value="${username}" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户类型:</label>
                            <div class="col-sm-8">
                                <input id="userTypeName" name="userTypeName" readonly th:value="${userTypeName}" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">证件号码:</label>
                            <div class="col-sm-8">
                                <input id="idCardNo" name="idCardNo" readonly th:value="${idCardNo}" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">教师邮箱:</label>
                            <div class="col-sm-8">
                                <input id="email" name="email" readonly th:value="${email}" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">教授课程:</label>
                            <div class="col-sm-8">
                                <input id="className" name="className" readonly th:value="${className}" class="form-control" type="text">
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-3 control-label">指导班级:</label>
                            <div class="col-sm-8">
                                <select name="instructorGrades" id="instructorGrades"
                                        data-live-search="true"
                                        class="form-control chosen-select selectpicker"
                                        multiple="multiple"
                                        Title="--点击查看所有指导班级--"
                                        data-selected-text-format="count>5"
                                        data-actions-box="false"
                                        tabindex="2"
                                        required>
                                    <option th:each="grade:${instructorGrades}" disabled
                                            th:value="${grade.gradeId}"
                                            th:text="${grade.gradeId}+'--'+${grade.gradeName}"></option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">授课班级:</label>
                            <div class="col-sm-8">
                                <select name="teacherGrades" id="teacherGrades"
                                        data-live-search="true"
                                        class="form-control chosen-select selectpicker"
                                        multiple="multiple"
                                        Title="--点击查看所有授课班级--"
                                        data-selected-text-format="count>5"
                                        data-actions-box="false"
                                        tabindex="2"
                                        required>
                                    <option th:each="grade:${teacherGrades}" disabled
                                            th:value="${grade.gradeId}"
                                            th:text="${grade.gradeId}+'--'+${grade.gradeName}"></option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">授课学生:</label>
                            <div class="col-sm-8">
                                <select name="teacherIds" id="teacherIds"
                                        data-live-search="true"
                                        class="form-control chosen-select selectpicker"
                                        multiple="multiple"
                                        Title="--点击查看所有授课学生--"
                                        data-selected-text-format="count>5"
                                        data-actions-box="false"
                                        tabindex="2"
                                        required>
                                    <option th:each="student:${teacherStudents}" disabled
                                            th:value="${student.studentId}"
                                            th:text="${student.studentId}+'--'+${student.name}"></option>
                                </select>
                            </div>
                        </div>


                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 全局js -->
<script src="/js/jquery.min.js?v=2.1.4" th:src="@{/js/jquery.min.js?v=2.1.4}"></script>
<script src="/js/bootstrap.min.js?v=3.3.6" th:src="@{/js/bootstrap.min.js?v=3.3.6}"></script>
<script src="/js/bootstrap-select.js?v=3.3.6" th:src="@{/js/bootstrap-select.js?v1.6.3}"></script>
<script type="text/javascript" src="/js/plugins/layer/laydate/laydate.js"></script>

<!-- 自定义js -->
<script src="/js/content.js?v=1.0.0" th:src="@{/js/content.js?v=1.0.0}"></script>

<!-- jQuery Validation plugin javascript-->
<script src="/js/ajax-util.js"></script>
<script src="/js/plugins/validate/jquery.validate.min.js" th:src="@{/js/plugins/validate/jquery.validate.min.js}"></script>
<script src="/js/plugins/validate/messages_zh.min.js" th:src="@{/js/plugins/validate/messages_zh.min.js}"></script>
<script src="/js/plugins/layer/layer.min.js" th:src="@{/js/plugins/layer/layer.min.js}"></script>

</body>
</html>
